
SET(__TempHeaders 
  GrabScreenOper.h)
SET(__TempHeaders_qt4
  ImageData.h
  ScreenInfo.h
  ShowScreenDlg.h)
FILE(GLOB __Sources *.cpp)

FOREACH(fileName ${__TempHeaders})
  STRING(REGEX REPLACE "(.*h$)" "${CMAKE_CURRENT_SOURCE_DIR}/\\1" pro ${fileName})
  LIST(APPEND __Headers ${pro})
ENDFOREACH(fileName)

FOREACH(fileName ${__TempHeaders_qt4})
  STRING(REGEX REPLACE "(.*h$)" "${CMAKE_CURRENT_SOURCE_DIR}/\\1" pro ${fileName})
  LIST(APPEND __Headers_qt4 ${pro})
ENDFOREACH(fileName)

#QT4_WRAP_CPP(__Sources_moc ${__Headers_qt4})
SET(ScreenHeaders ${__Headers} ${__Headers_qt4} PARENT_SCOPE)
SET(ScreenHeaders_qt4 ${__Headers_qt4} PARENT_SCOPE)
SET(ScreenSources ${__Sources} PARENT_SCOPE)

  